﻿using Auto.Model.IStandard;

using System;
using System.Collections.Generic;
using System.Text;

namespace Auto.Model.Standard
{
    /// <summary>
    /// 服务响应分页数据
    /// </summary>
    /// <typeparam name="TEntity"></typeparam>
    public class ServicePageDataResult<TEntity> : ServiceListDataResult<TEntity>,IPageDataBase where TEntity : class
    {
        public ServicePageDataResult()
        {

        }
        /// <summary>
        /// 数据总条数
        /// </summary>
        public long Total { get; set; } = 0;
        /// <summary>
        /// 分页大小
        /// </summary>
        public long PageSize { get; set; }
        /// <summary>
        /// 当前页索引
        /// </summary>
        public long PageIndex { get; set ; }
    }
}
